package com.framework.bdf4j.msg.entity.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 消息接收人
 *
 * @author shan.deng
 * @date 2020-08-03 11:35:03
 */
@Data
@TableName("sys_msg_receiver")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "消息接收人")
public class SysMsgReceiver extends Model<SysMsgReceiver> {
    private static final long serialVersionUID = 1L;

    /**
     * 消息ID
     */
    @ApiModelProperty(value="消息ID")
    private Integer msgId;
    /**
     * 接收人ID
     */
    @ApiModelProperty(value="接收人ID")
    private Integer receiverUserId;
    /**
     * 已读未读(0:未读,1:已读)
     */
    @ApiModelProperty(value="已读未读(0:未读,1:已读)")
    private String receiverReadStatus;
    /**
     * 所属类别(0:发送个人,1表示发送部门,2表示发送角色,3表示全部)
     */
    @ApiModelProperty(value="所属类别(0:发送个人,1表示发送部门,2表示发送角色,3表示全部)")
    private String receiverType;
}
